# -*- encoding:utf-8 -*-
# @time:2022-11-18 13:58
# @Author : serein
# @Email: serein@qq.com
# @File:urls.py
# @Software: PyCharm
from .views import *
from django.urls import path
from rest_framework.routers import DefaultRouter
#如果路由不同就要重新写个path
urlpatterns = []
router = DefaultRouter()
router.register('GoodsType',GoodsTypeViews)
router.register('Commodity',CommodityViewSet)
urlpatterns += router.urls














